#include <iostream>

struct struct_A
{
    int member;
};
int main()
{
    int x, i;
    int arr[10];

    struct struct_A  a;
    struct struct_A *obj = &a;
    if (!x)
    {
        arr[i]   = obj->member;
        a.member = 10;
        ++x;
    }
}